package mapper;

import com.sqsf.javabean.Role;
import org.apache.ibatis.annotations.Select;

public class RoleMapper {
    @Select("select r.* from role r left join user_role ur on ur.rid=r.rid where ur.uid=#{uid}")
    Role selectByUid(int uid);
}
